package com.legleg.db;

import com.legleg.data.Feed;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 12-12-29
 * Time: 下午1:28
 * To change this template use File | Settings | File Templates.
 */
public class FeedDao extends Dao {
    public static List<Feed> queryAllFeeds(){
        String sql = "select * from feed";
        List<Feed> allFeeds = list(sql,Feed.class);
        return allFeeds;
    }
}
